.goods-detail {
  background-color: #f4f4f4;
  .main {
    width: 100%;
    height: calc(100% - 50px);
    overflow: auto;
  }
  .banner-img {
    width: 100%;
    height: auto;
  }

  .info {
    text-align: center;
    background-color: #fff;
    overflow: hidden;
    margin-top: 8px;
    border-bottom: 1px solid #f2f2f2;
    h2 {
      font-size: 20px;
      margin: 20px 0;
      padding: 10px 0;
    }
    .desc {
      color: #999;
      padding: 12px;
    }
    .price {
      font-size: 17px;
      color: #b4282b;
      margin-bottom: 17px;
    }
  }
  .content {
    padding: 16px 16px 160px;
  }

  .attribute {
    background-color: #fff;
    margin-top: 8px;
    padding: 10px;

    .title {
      font-size: 17px;
      margin-bottom: 10px;
    }
    ul > li {
      display: flex;
      padding: 8px 0;
      background-color: #f4f4f4;
      margin-bottom: 8px;
      .attr_name {
        color: #999;
      }
      .attr_value {
        margin-left: 10px;
        flex: 1;
        width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
    }
  }

  .issue {
    background-color: #fff;
    padding: 0 20px 10px;
    margin-bottom: 10px;
    .title {
      text-align: center;
      padding: 17px 0;
      font-size: 13px;
      &::before,
      &::after {
        content: "";
        margin: 0 4px 4px;
        display: inline-block;
        width: 40px;
        height: 1px;
        background-color: #999;
      }
    }
    .item {
      margin-bottom: 10px;

      .question {
        margin-bottom: 4px;
        font-size: 13px;
        &::before {
          display: inline-block;
          content: "";
          width: 4px;
          height: 4px;
          line-height: 16px;
          border-radius: 50%;
          background-color: #b4282d;
          margin-bottom: 2px;
          margin-right: 4px;
        }
      }
      .answer {
        color: #999;
        margin-left: 8px;
        font-size: 13px;
      }
    }
  }

  .goodslist {
    .title {
      text-align: center;
      padding: 17px 0;
      font-size: 13px;
      background-color: #fff;
      &::before,
      &::after {
        content: "";
        margin: 0 4px 4px;
        display: inline-block;
        width: 40px;
        height: 1px;
        background-color: #999;
      }
    }

    ul {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      li {
        width: 49.5%;
        height: 214px;
        background-color: #fff;
        margin-bottom: 4px;
        text-align: center;
        img {
          width: 150px;
          height: 150px;
        }
        .name {
          margin: 12px 20px 3px;
          text-align: left;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .price {
          color: #b4282d;
          margin: 12px 20px 3px;
          text-align: left;
        }
      }
    }
  }

  .footer {
    display: flex;
    width: 100%;
    height: 50px;
    line-height: 50px;
    position: fixed;
    bottom: 0;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #f2f2f2;
    z-index: 9999;
    .collectBtn {
      width: 84px;
      height: 100%;
      font-size: 20px;
      border-right: 1px solid #f2f2f2;
    }
    .cartBtn {
      width: 84px;
      height: 100%;
      font-size: 20px;
      border-right: 1px solid #f2f2f2;
    }
    .buy {
      width: 104px;
      height: 100%;
    }
    .addCart {
      flex: 1;
      height: 100%;
      color: #fff;
      background-color: #b4282d;
    }
  }

  .pop-content {
    padding: 18px;
    .pop-head {
      display: flex;
      img {
        width: 88px;
        height: 88px;
      }
      .price {
        color: #b4282b;
      }
      p {
        margin: 20px 10px;
      }
    }
    .buyNum {
      margin: 10px 0;
      p {
        margin-bottom: 10px;
      }
    }
  }
}
